// pages/teachItem/teachItem.js
var t = getApp();

Component({
  properties: {
    com_data: {
      type: Object,
      value: ""
    },
    source:{
      type:Number,
      value: 0
    }
  },
  data: {
    
  },
  ready: function(){
    
  },
  methods: {
    nav_detail:function(e){
      var uid=e.currentTarget.dataset.uid,oid=e.currentTarget.dataset.oid;
      wx.navigateTo({
        url: '../../pages/famousDetail/famousDetail?uid='+uid+'&oid='+oid+'&type='+this.properties.source,
      })
    },
  },
});